<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>应用详情</title>
		<link rel="stylesheet" href="css/amazeui.css" />
		<link href="css/details.css" rel="stylesheet" />
		<link rel="stylesheet" href="css/level-comment.css" />
		<script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>

	</head>
	<body>
		<div class="header">
			<div class="logo">
				<img class="logo-pic" src="img/trochili-logo.png" >
				<div class="search">
					<form id="form" name="f" action="/s" class="search-fm">
						<span class="bg s_ipt_wr quickdelete-wrap">
							<span class="search-btn"></span>
							<div id="kw_tip" style="width: initial; margin-left: 38px; max-width: 497px; display: none;" unselectable="on" onselectstart="return false;" class="s_ipt_tip"></div>
							<input id="kw" name="wd" class="s_ipt" value="" maxlength="255" autocomplete="off">
						</span>
					</form>
				</div>
				<a href="#" class="login">登录</a>
				<a href="#" class="register">注册</a>
			</div>
			<div class="header-nav">
				<ul>
					<li class="active"><a href="#" class="">全部</a></li>
					<li class=""><a href="#">金融</a></li>
					<li class=""><a href="#">商业服务</a></li>
					<li class=""><a href="#">公益</a></li>
					<li class=""><a href="#">教育</a></li>
					<li class=""><a href="#">富媒体</a></li>
					<li class=""><a href="#">工具</a></li>
					<li class=""><a href="#">交通</a></li>
					<li class=""><a href="#">房地产</a></li>
					<li class=""><a href="#">IT 科技</a></li>
					<li class=""><a href="#">旅游</a></li>
					<li class=""><a href="#">电商</a></li>
					<li class=""><a href="#">医疗</a></li>
					<li class=""><a href="#">政务民生</a></li>
					<li class=""><a href="#">商家自营</a></li>
					<li class=""><a href="#">餐饮</a></li>
				</ul>
				<button class="issue">发布小程序</button>
			</div>
		</div>
		
		
		
		
		
		
		
		<div class="details-content">
			
			<div class="details-content-title">
				<img class="use-pic" src="img/5318c6376af4c0c8d9cada8bf53388621713d022-60371ca22a9fb912431a1930d748cf3884dbbd79.png" />
				<div class="user-describe">
					
					<h4 class="title">
						<p class="app-name">南方基金微理财</p>
						<div class="app_icon app-icon-list">
							<span class="icons">金融</span><span class="icons">金融</span><span class="icons">金融</span>
						</div>
						<div class="comment-star-list level-box levelnum">
							<input value="5" hidden/>
							<span class="star star_click"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span>
						</div>
					</h4>
					
					<p class="author text-reset text-margin-reset">作者：<span>乔布斯之手</span></p>
					<p class="describe text-reset">描述：南方基金小程序，集现金管理、基金交易、净值查询等多种功能于一体。</p>
				</div>
			</div>
			<div class="use-info">
				<div class="left">
					<p class="screenshot">截图</p>
					<div class="screenshot-img" id="screenshot-img">
						<div class="screenshot-img-scroll">
							<!--<ul>
								<li><img src="img/header-img.jpg" /></li>
								<li><img src="img/header-img.jpg" /></li>
								<li><img src="img/header-img.jpg" /></li>
								<li><img src="img/header-img.jpg" /></li>
								<li><img src="img/header-img.jpg" /></li>
							</ul>-->
							<ul data-am-widget="gallery" class="am-gallery am-avg-sm-2
							  am-avg-md-3 am-avg-lg-4 am-gallery-overlay" data-am-gallery="{ pureview: true }" >
							    <li>
							        <div class="am-gallery-item">
							            <a href="images/1.jpg" class="">
							                <img src="images/1.jpg"  alt="远方 有一个地方 那里种有我们的梦想"/>
							                <h3 class="am-gallery-title">远方 有一个地方 那里种有我们的梦想</h3>
							                <div class="am-gallery-desc">2375-09-26</div>
							            </a>
							        </div>
							    </li>
							    <li>
							        <div class="am-gallery-item">
							            <a href="images/2.jpg" class="">
							                <img src="images/2.jpg"  alt="某天 也许会相遇 相遇在这个好地方"/>
							                <h3 class="am-gallery-title">某天 也许会相遇 相遇在这个好地方</h3>
							                <div class="am-gallery-desc">2375-09-26</div>
							            </a>
							        </div>
							    </li>
							    <li>
							        <div class="am-gallery-item">
							            <a href="images/3.jpg" class="">
							                <img src="images/3.jpg"  alt="不要太担心 只因为我相信"/>
							                <h3 class="am-gallery-title">不要太担心 只因为我相信</h3>
							                <div class="am-gallery-desc">2375-09-26</div>
							            </a>
							        </div>
							    </li>
							    <li>
							        <div class="am-gallery-item">
							            <a href="images/4.jpg" class="">
							                <img src="images/4.jpg"  alt="终会走过这条遥远的道路"/>
							                <h3 class="am-gallery-title">终会走过这条遥远的道路</h3>
							                <div class="am-gallery-desc">2375-09-26</div>
							            </a>
							        </div>
							    </li>
							</ul>
						</div>
					</div>
				</div>
				<div class="right">
					<p class="screenshot">截图</p>
					<img src="img/trochili-qrcode.jpg" />
					<p>发布时间 :<a>01-09 14:03</a></p>
					<p>查看要求:<a>微信最新版本客户端，6.5.3 版本以上。</a></p>
					<p>作者:<a>movieatravelove</a></p>
				</div>
			</div>
<!--评论区域-->
			<div class="use-comment">
				<p class="screenshot">编辑评论</p>
				<div class="comment-box">
					<textarea class="comment-form" placeholder="请说说您的看法，字数不少于2个字" value=""></textarea>
					<div class="comment-star">
						<span>评分</span>
						<div class="comment-star-list" id="choose">
							<span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span>
						</div>
						<div class="clear"></div>
					</div>
					<div class="comment-sumbit">
						<span><a>登录</a>后参与讨论 </span>
						<button class="sumbit-but">发表评论</button>
						<div class="clear"></div>
					</div>
				</div>
				<div class="show-comment-box">
					<div class="show-head"><p>评论列表</p></div>
					<ul class="comment-ul">
						<li class="comment-list">
							<div class="user-information">
								<img src="images/default_avatar.png" width="100%" class="user-pic"/>
								<div class="information">
									<span class="uesr-name">小程序</span>
									<span class="point"></span>
									<span class="date">1月11日</span>
									<div class="clear"></div>
									<div class="comment-star-list levelnum">
										<input value="2" hidden/>
										<span class="star star_click"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span><div class="clear"></div>
									</div>
								</div>
								<div class="clear"></div>
							</div>
							<div class="comment-centent">不错，这小程序应用不错！！！</div>
						</li>
						
						<li class="comment-list">
							<div class="user-information">
								<img src="images/default_avatar.png" width="100%" class="user-pic"/>
								<div class="information">
									<span class="uesr-name">小程序</span>
									<span class="point"></span>
									<span class="date">1月11日</span>
									<div class="clear"></div>
									<div class="comment-star-list levelnum">
										<input value="3" hidden/>
										<span class="star star_click"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span>
									</div>
								</div>
								<div class="clear"></div>
							</div>
							<div class="comment-centent">不错，这小程序应用不错！！！</div>
						</li>
						
						<li class="comment-list">
							<div class="user-information">
								<img src="images/default_avatar.png" width="100%" class="user-pic"/>
								<div class="information">
									<span class="uesr-name">小程序</span>
									<span class="point"></span>
									<span class="date">1月11日</span>
									<div class="clear"></div>
									<div class="comment-star-list levelnum">
										<input value="4" hidden/>
										<span class="star star_click"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span>
									</div>
								</div>
								<div class="clear"></div>
							</div>
							<div class="comment-centent">不错，这小程序应用不错！！！</div>
						</li>
					</ul>
				</div>
			</div>
<!--end-->
		</div>
		<script>
			$(function(){
				var starnum = 0
				$("#choose .star").bind("click",function(e){
					var that = $(this)
					that.nextAll().removeClass("star_click")
					
					if(that.hasClass("star_click")){
						
					}else{
						that.addClass("star_click").prevAll().addClass("star_click")
					}
					starnum = that.parent("#choose").children(".star_click").length
//					alert(that.attr("id"))
				})
				$(".sumbit-but").click(function(){
					var textconent = $(this).parents(".comment-sumbit").siblings("textarea").val();
					if(textconent == ""){
						alert("评论内容不能为空")
					}else if(starnum < 1 ){
						alert("需要评分后发布评论")
					}else{
						if(textconent.length < 5){
							alert("评论内容不小于5个字")
						}else{
							alert(textconent+","+starnum)
						}
					}
					
				})
				var leves = $(".levelnum").length
				for(var i=0;i<leves;i++){
					var leve = $(".levelnum").eq(i).children("input").val()
					for (var e=0;e<leve;e++) {
						$(".levelnum").eq(i).children("span").eq(e).addClass("star_click")
					}
				}
				
			})
		</script>
		
		

		
		
		
		
		
		<div class="footer">
			<div class="footer-all">
				<div class="footer-logo">
					<img class="logo-pic" src="img/trochili-logo2.png" >
				</div>
				<div class="footer-content">
					<p class="cn-copy">
						版权所有 © 广州爱范儿科技股份有限公司 2008 - 2017。
						以商业目的使用爱范儿网站内容需获许可。非商业目的使用授权遵循 CC BY-NC 4.0。粤 ICP 备 10211557 号
					</p>
					<p class="en-copy">
						All content is made available under the CC BY-NC 4.0 for non-commercial use. Commercial use of this content is prohibited without explicit permission.
					</p>
				</div>
			</div>
		</div>
		<script src="js/amazeui.js"></script>
		<script type="text/javascript">
			$("#screenshot-img img").click(function(){
				
			});
		</script>
	</body>
</html>
